print("hello world") a = 1 b= 2 print (a+b) """blablabla""" age = 90 if age > 40: print ('you are so old') else: print ('wow') contributions = [1, 3, 5, 33, 44, 6, 77, 89] print(sum(contributions)) new_list = [i**2 for i in contributions if i % 2 ==0] # POWER: i**2 print(new_list) i=2 print(i**2) print(sum(new_list)) myinfo = {'name': 'laura', 'citizenship': 'd', 'work': 'hier', 'contributions': [1, 1, 1, 1], 'income': 55555} #for k in myinfo.values(): # print(k) #for k, v in myinfo.items (): # print (f'Your {k} is {v}') print(myinfo.get('income', 1234)) incomes = [100, 200, 3000, 4060, ] def income_after_tax (income): tax_rate = 0.2 return income * (1 - tax_rate) for i in incomes: print {F'your income after tax is {income_after_tax(i)}'}